import Request from '@/utils/my-request-util';

/**
 * 用户管理api
 *
 * @author fengshuonan
 * @date 2021/4/1 16:06
 */
export class BannerApi {
  /**
   * 获取用户列表
   *
   * @author fengshuonan
   * @date 2021/4/1 16:07
   */
  static loadBannerList(params) {
    return Request.get('/', params);
  }

  static addBanner(params) {
    return Request.post('/', params);
  }
}
